package com.lei.demo.service;

import com.lei.demo.entity.TripForm;

import java.util.List;

/**
 * Created by Shinelon on 2017/6/15.
 */
public interface TripFormService {
    TripForm findById(int trid);
    void  save(TripForm tripForm);
    void  update(TripForm tripForm);
    void  delete(int trid);
    List<TripForm> findTripForms(String username);
    List<TripForm> findTripForms(int trid);
    List<TripForm> findAllTripForms();
    List<TripForm> findAllTripForms(int trid);
}
